﻿package Message.Command
{
    import Engine.RMI.*;
    import Framework.Serialize.*;

    public class EGateCommand extends Object
    {
        public var __value:int;
        public static const _ECmdGateToCenterTest:int = 20000;
        public static const _ECmdGateToGateMgrTest:int = 20001;
        public static const _ECmdGateRobotFightAITest:int = 20002;
        public static const _ECmdGatePlayerItemUpdate:int = 20011;
        public static const _ECmdGateBag:int = 20012;
        public static const _ECmdGateDrugCanUseDt:int = 20013;
        public static const _ECmdGateDrugBagInfo:int = 20014;
        public static const _ECmdGateShopBuy:int = 20015;
        public static const _ECmdGatePanicBuyItem:int = 20016;
        public static const _ECmdGatePanicBuyRefresh:int = 20017;
        public static const _ECmdGatePanicBuyPlayer:int = 20018;
        public static const _ECmdGateRevivalPropNotEnough:int = 20019;
        public static const _ECmdGateConveyPropNotEnough:int = 20020;
        public static const _ECmdGateOnSellItemsInfo:int = 20021;
        public static const _ECmdGateOnSellPlayerInfo:int = 20022;
        public static const _ECmdGateItemUseNumInfo:int = 20023;
        public static const _ECmdGateChatMsgMoniter:int = 20031;
        public static const _ECmdGateChatMsg:int = 20032;
        public static const _ECmdGateOnlineNum:int = 20033;
        public static const _ECmdGateOperationOnline:int = 20034;
        public static const _ECmdGateIssm:int = 20035;
        public static const _ECmdGateUserLocked:int = 20036;
        public static const _ECmdGateMailNotice:int = 20037;
        public static const _ECmdGateBroadcastChatMsg:int = 20038;
        public static const _ECmdGateGuildMsg:int = 20039;
        public static const _ECmdGateMailNoticeByCond:int = 20040;
        public static const _ECmdGateRoleUpdate:int = 20051;
        public static const _ECmdGateMoneyUpdate:int = 20052;
        public static const _ECmdGatePositionUpdate:int = 20053;
        public static const _ECmdGateSkillUpdate:int = 20054;
        public static const _ECmdGateSkill:int = 20055;
        public static const _ECmdGateClientSetting:int = 20056;
        public static const _ECmdGateBuffUpdate:int = 20057;
        public static const _ECmdGateFightPetInfo:int = 20058;
        public static const _ECmdGatePetInfo:int = 20059;
        public static const _ECmdGatePetUpdate:int = 20060;
        public static const _ECmdGatePetInfoUpdate:int = 20061;
        public static const _ECmdGateMount:int = 20062;
        public static const _ECmdGateMountUpdate:int = 20063;
        public static const _ECmdGateRuneUpdate:int = 20066;
        public static const _ECmdGateRune:int = 20067;
        public static const _ECmdGatePetSkillUpdate:int = 20068;
        public static const _ECmdGatePetSkillWarehouse:int = 20069;
        public static const _ECmdGateRoleUpdateFight:int = 20070;
        public static const _ECmdGatePetSkillRandDaily:int = 20071;
        public static const _ECmdGateSpriteInfo:int = 20072;
        public static const _ECmdGateMountCardInfo:int = 20073;
        public static const _ECmdGatePetIllusionTimes:int = 20074;
        public static const _ECmdGateMountCardUpdate:int = 20075;
        public static const _ECmdGatePlayerSuitUpdate:int = 20076;
        public static const _ECmdGatePlayerInviteZazen:int = 20077;
        public static const _ECmdGatePlayerReplayZazen:int = 20078;
        public static const _ECmdGatePlayerZazenEarnings:int = 20079;
        public static const _ECmdGatePlayerInvestInfo:int = 20080;
        public static const _ECmdGateCompensationInfo:int = 20081;
        public static const _ECmdGateCompenInfoUpdate:int = 20082;
        public static const _ECmdGateOfflineExpUpdate:int = 20083;
        public static const _ECmdGateAddGuildTreeBuff:int = 20084;
        public static const _ECmdGateFashion:int = 20085;
        public static const _ECmdGateFashionUpdate:int = 20086;
        public static const _ECmdGateTower:int = 20087;
        public static const _ECmdGateTowerUpdate:int = 20088;
        public static const _ECmdGateMedal:int = 20089;
        public static const _ECmdGateSkillsUpdate:int = 20090;
        public static const _ECmdGatePet2Info:int = 20091;
        public static const _ECmdGatePet2Update:int = 20092;
        public static const _ECmdGatePet2SkillUpdate:int = 20093;
        public static const _ECmdGatePet2SkillWarehouse:int = 20094;
        public static const _ECmdGateSyncPlayerRunes:int = 20095;
        public static const _ECmdGateTaskUpdate:int = 20101;
        public static const _ECmdGateTaskCanGet:int = 20102;
        public static const _ECmdGateTaskMy:int = 20103;
        public static const _ECmdGateTaskRemoveMy:int = 20104;
        public static const _ECmdGateTaskRemoveCanGet:int = 20105;
        public static const _ECmdGateTaskAddMy:int = 20106;
        public static const _ECmdGateTaskAddCanGet:int = 20107;
        public static const _ECmdGateTaskNpcTask:int = 20108;
        public static const _ECmdGateTaskShow:int = 20109;
        public static const _ECmdGateTaskAddEffect:int = 20110;
        public static const _ECmdGateTaskExecuteNum:int = 20111;
        public static const _ECmdGateTaskRewardSkill:int = 20112;
        public static const _ECmdGateTaskChapterInfo:int = 20113;
        public static const _ECmdGateTaskGuildCreated:int = 20114;
        public static const _ECmdGateTaskGuildShareList:int = 20115;
        public static const _ECmdGateTaskGuildColor:int = 20116;
        public static const _ECmdGateFriendApply:int = 20151;
        public static const _ECmdGateFriendReply:int = 20152;
        public static const _ECmdGateFriendRecord:int = 20153;
        public static const _ECmdGateFriendRemove:int = 20154;
        public static const _ECmdGateFriendInfoUpdate:int = 20155;
        public static const _ECmdGateFriendInfo:int = 20156;
        public static const _ECmdGateFriendOnlineStatus:int = 20157;
        public static const _ECmdGateFriendInfoUpdateToCenter:int = 20158;
        public static const _ECmdGateFriendOnlineStatustoCenter:int = 20159;
        public static const _ECmdGateFriendFriendRecommend:int = 20160;
        public static const _ECmdGateFriendCanCongratulate:int = 20161;
        public static const _ECmdGateFriendCongratulate:int = 20162;
        public static const _ECmdGateFriendCongratulateInfo:int = 20163;
        public static const _ECmdGateFriendSendFlower:int = 20164;
        public static const _ECmdGateFriendKiss:int = 20165;
        public static const _ECmdGateBuyBack:int = 20201;
        public static const _ECmdGateBuyBackUpdate:int = 20202;
        public static const _ECmdGateStrength:int = 20220;
        public static const _ECmdGateJewelHole:int = 20221;
        public static const _ECmdGateMarketSearch:int = 20251;
        public static const _ECmdGateMarketGetMyRecords:int = 20252;
        public static const _ECmdGateMarketResultBuyItem:int = 20253;
        public static const _ECmdGateMarketResultSellItem:int = 20254;
        public static const _ECmdGateMarketResultCancelSell:int = 20255;
        public static const _ECmdGateMarketResultSeekBuy:int = 20256;
        public static const _ECmdGateMarketResultCancelSeekBuy:int = 20257;
        public static const _ECmdGatePlayerSoulInfo:int = 20301;
        public static const _ECmdGateFashionHideUpdate:int = 20322;
        public static const _ECmdGateFashionOutOfDate:int = 20323;
        public static const _ECmdGatePetBreakInfo:int = 20326;
        public static const _ECmdGateVipItemReward:int = 20331;
        public static const _ECmdGateVipInfo:int = 20332;
        public static const _ECmdGateUpdatePlayerToplistTitle:int = 20335;
        public static const _ECmdGateLevelGiftInfo:int = 20341;
        public static const _ECmdGateDaliyViewInfo:int = 20342;
        public static const _ECmdGateCollectSysInfo:int = 20343;
        public static const _ECmdGateMoneyCardTime:int = 20344;
        public static const _ECmdGateOnlineRewardInfo:int = 20345;
        public static const _ECmdGateOnlineRewardUpdate:int = 20346;
        public static const _ECmdGateAchievementTypeInfoUpdate:int = 20350;
        public static const _ECmdGateAchievementCategoryInfoUpdate:int = 20351;
        public static const _ECmdGateAchievementLogin:int = 20352;
        public static const _ECmdGateTodayOnlineTimeInfo:int = 20356;
        public static const _ECmdGateTreasureMapUseInfo:int = 20357;
        public static const _ECmdGateFinalTestRewardInfo:int = 20358;
        public static const _ECmdGate7DaysLoginRewardInfo:int = 20359;
        public static const _ECmdGateRoutineTaskPanelInfo:int = 20360;
        public static const _ECmdGateRoutineTaskRefreshPanelInfo:int = 20361;
        public static const _ECmdGateRoutineTaskInviteInfo:int = 20362;
        public static const _ECmdGateRoutineTaskUpdate:int = 20363;
        public static const _ECmdGateRoutineTaskSync:int = 20364;
        public static const _ECmdGateRoutineTaskRefresh:int = 20365;
        public static const _ECmdGateRoutineTaskRefreshSuccess:int = 20366;
        public static const _ECmdGateRoutineSync:int = 20367;
        public static const _ECmdGateCanTakeSevenDaysTargetAward:int = 20381;
        public static const _ECmdGateHitChartTargetType:int = 20382;
        public static const _ECmdGateSevenDaysTargetType:int = 20383;
        public static const _ECmdGateCanTakeHitChartTargetAward:int = 20384;
        public static const _ECmdGateRechargeReturnReward:int = 20401;
        public static const _ECmdGateDayFirstRechargeReward:int = 20402;
        public static const _ECmdGateFirstRechargeWingGet:int = 20403;
        public static const _ECmdGatePlacardChallengeResultToGate:int = 20411;
        public static const _ECmdGateAgencyRewardInfo:int = 20412;
        public static const _ECmdGateConsumRewardInfo:int = 20413;
        public static const _ECmdGatePlayerToastStart:int = 20421;
        public static const _ECmdGatePlayerToastEnd:int = 20422;
        public static const _ECmdGatePlayerStartMora:int = 20423;
        public static const _ECmdGatePlayerShowMora:int = 20424;
        public static const _ECmdGatePlayerMoraEnd:int = 20425;
        public static const _ECmdGateYYPurpleInfo:int = 20431;
        public static const _ECmdGatePlatformGift:int = 20432;
        public static const _ECmdGateProxyVipInfo:int = 20433;
        public static const _ECmdGateMainCityAdoreInfo:int = 20434;
        public static const _ECmdGateMainCityExpInfo:int = 20435;
        public static const _ECmdGateEnterExpCopyInfo:int = 20436;
        public static const _ECmdGateEveryTotalRechargeRewards:int = 20450;
        public static const _ECmdGateDouble11CardGiftNum:int = 20451;
        public static const _ECmdGateMergeRechargeActiveReward:int = 20452;
        public static const _ECmdGateThansGivingConsumReward:int = 20453;
        public static const _ECmdGateMergeRechargeReturnCash:int = 20454;

        public function EGateCommand(param1:int)
        {
            this.__value = param1;
            return;
        }// end function

        public function value() : int
        {
            return this.__value;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeShort(this.__value);
            return;
        }// end function

        public static function convert(param1:int) : EGateCommand
        {
            return new EGateCommand(param1);
        }// end function

        public static function __read(param1:SerializeStream) : EGateCommand
        {
            var _loc_2:* = param1.readShort();
            if (_loc_2 < 0 || _loc_2 >= 20455)
            {
                throw new MarshalException();
            }
            return EGateCommand.convert(_loc_2);
        }// end function

    }
}
